<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath%>">
		<title>insert title</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">    
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
			<link rel="stylesheet" type="text/css" href="styles.css">
		-->
	</head>
	<body>
		<form action="test/test03" method="post">
			<c:forEach items="${scList }" var="s" varStatus="L">
				<div>
					<input type="text" name="list[${L.index }].sno" value="${s.sno }"/>
					<input type="text" name="list[${L.index }].sname"/>
				</div>
			
				<br/>
			</c:forEach>
			<input type="submit" value="submit"/>
		</form>
	</body>
</html>